package com.ktgj.customer.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ktgj.common.core.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;

public class BusinessOrderSub {
    /** 主键 */
    private Long orderSubId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNum;

    /** 订单主表ID */
    @Excel(name = "订单主表ID")
    private Long orderId;

    /** 会员卡ID */
    @Excel(name = "会员卡ID")
    private Long customerCardId;

    /** 卡ID */
    @Excel(name = "卡ID")
    private Long cardId;

    /** 卡名称 */
    @Excel(name = "卡名称")
    private String cardName;

    /** 卡售价 */
    @Excel(name = "卡售价")
    private BigDecimal cardPrice;

    /** 开卡续费状态 */
    @Excel(name = "开卡续费状态")
    private String renewCardStatus;

    /** 开卡时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开卡时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date newCardTime;

    /** 失效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "失效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date invalidTime;

    /** 是否退卡 */
    @Excel(name = "是否退卡")
    private String whetherRefund;

    public Long getOrderSubId() {
        return orderSubId;
    }

    public void setOrderSubId(Long orderSubId) {
        this.orderSubId = orderSubId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getCustomerCardId() {
        return customerCardId;
    }

    public void setCustomerCardId(Long customerCardId) {
        this.customerCardId = customerCardId;
    }

    public Long getCardId() {
        return cardId;
    }

    public void setCardId(Long cardId) {
        this.cardId = cardId;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public BigDecimal getCardPrice() {
        return cardPrice;
    }

    public void setCardPrice(BigDecimal cardPrice) {
        this.cardPrice = cardPrice;
    }

    public String getRenewCardStatus() {
        return renewCardStatus;
    }

    public void setRenewCardStatus(String renewCardStatus) {
        this.renewCardStatus = renewCardStatus;
    }

    public Date getNewCardTime() {
        return newCardTime;
    }

    public void setNewCardTime(Date newCardTime) {
        this.newCardTime = newCardTime;
    }

    public Date getInvalidTime() {
        return invalidTime;
    }

    public void setInvalidTime(Date invalidTime) {
        this.invalidTime = invalidTime;
    }

    public String getWhetherRefund() {
        return whetherRefund;
    }

    public void setWhetherRefund(String whetherRefund) {
        this.whetherRefund = whetherRefund;
    }
}
